/* 网站样式统一定义 */
html {
    font-style: 62.5%;
}

body {
    color: #333;
    font-size: 1.2rem;
    line-height: 2rem;
    --site-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
p {
    margin: 0;
    padding: 0;
}

li{
    list-style-type: none;
}

a{
    color: #333;
    text-decoration: none;
}

a:hover{
    color: #89211b;
}

/* 自适应父容器大小 */
img{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

/* 0-1.页面容器宽度定义 */
header,nav,main,footer{
    width: calc(var(--site-width));
    margin: 0 auto;
}

/* 0-2.公用定义 */
.w1200{
    width: 120rem;
    margin: 0 auto;
}

/* 1.页面头部 */
header{
    background: #282828;
    /* 背景颜色也推过去 */
    min-width: max-content;
}
.top_nav{
    display: flex;
    color: #700005;
    align-items: center;
    height: 3rem;
}

.top_nav .push_right{
    margin-left: auto;
}

.top_nav a{
    color: #a5a4a4;
    padding-right: 1rem;
}



.top_nav a:not(:last-of-type)::after{
    content: "";
    display: inline-block;
    margin-left: 1rem;
}

.logo{
    margin:0 auto;
    height: 100px;
    background: #89211b url(../day/day1/images/fire.png);
}

.logo h1{
    height: 100px;

}
/* 2.页面导航 */
nav{
    background: #ebebeb;
    min-width: max-content;
}

nav ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav li{
    flex:1;
}

nav .sub_menu{
    display: none;
}

/* 3.页面主体 */

/* 4.页面底部 */